package fr.idak.spring.tiles.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import fr.idak.spring.tiles.dao.UserDao;
import fr.idak.spring.tiles.hibernate.entity.User;

@Service
public class UserServiceImpl implements UserService {

	@Autowired
	private UserDao userDao;
	
	/*
	public Collection<? extends GrantedAuthority> getAutorities() {
		return null;
	}
*/
	public User findUserByLogin(String login) {
		return userDao.findUserByLogin(login);
	}
	
	

}
